package com.mingqijia.gassafety.webserver.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 报警策略
 * </p>
 *
 * @author zhangfei
 * @since 2022-02-25
 */
@Data
@ApiModel(value = "WarnStrategy对象", description = "报警策略")
public class WarnStrategyRes  {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "规则名称")
    private String ruleName;

    @ApiModelProperty(value = "策略对象：0所有客户 1按照行业选择 2按照客户选择")
    private Integer strategyObj;

    @ApiModelProperty(value = "行业或者客户数据：；号隔开")
    private String strategyObjValues;

    @ApiModelProperty(value = "策略设备：0所有设备")
    private Integer strategyEquipment;

    @ApiModelProperty(value = "低报 %")
    private String lowReport;

    @ApiModelProperty(value = "报警方式：1本地消息中心 2 短信推送 3 微信模版消息 4机器人外呼")
    @TableField("low_type")
    private Integer lowType;

    @ApiModelProperty(value = "本地消息中心报警间隔")
    private String lowReportInterval;

    @ApiModelProperty(value = "短信报警间隔")
    private String lowSendInterval;

    @ApiModelProperty(value = "高报 %")
    private String highReport;

    @ApiModelProperty(value = "报警方式：1本地消息中心 2 短信推送 3 微信模版消息 4机器人外呼")
    private Integer highType;

    @ApiModelProperty(value = "本地消息中心报警间隔")
    private String highReportInterval;

    @ApiModelProperty(value = "短信报警间隔")
    private String highSendInterval;

    @ApiModelProperty(value = "备注说明")
    private String remark;

    @ApiModelProperty(value = "状态")
    private Integer isDisabled;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private String updatedAt;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private String createdAt;

}
